]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionPrefs: Load D-Bus interface from own resource
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 7 Mar 2020 18:26:06 +0000 (19:26 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 19 Mar 2020 14:27:36 +0000 (14:27 +0000)
commit4340260c49b577e81c8b9ef914180ee4e46c5775
treef4a823bdad3e5fcbcdac4ad179c54f4461e28064
parent96e534796fb681ba07bec68bf5694b5aaf6bbd75
extensionPrefs: Load D-Bus interface from own resource

Using the "regular" loadInterfaceXML() helper means less code duplication,
but it also ties us to the resource used by gnome-shell.

In order to untangle the extension app from core gnome-shell, change that
to load the interface from the existing data resource instead. While that
does involve reimplementing loadInterfaceXML(), it's not too bad actually
with the resource-loading code stripped (as the data resource is already
loaded by the package module).

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1081
js/extensionPrefs/data/dbus-interfaces/org.gnome.Shell.Extensions.xml [new symlink]
js/extensionPrefs/data/org.gnome.Extensions.data.gresource.xml
js/extensionPrefs/js/main.js
js/extensionPrefs/js/org.gnome.Extensions.src.gresource.xml